Optimal. Leaf size=73 \[ -\frac{\csc ^7(c+d x)}{7 a d}+\frac{\csc ^6(c+d x)}{6 a d}+\frac{\csc ^5(c+d x)}{5 a d}-\frac{\csc ^4(c+d x)}{4 a d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.10912, antiderivative size = 73, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.103, Rules used = {2836, 12, 75} \[ -\frac{\csc ^7(c+d x)}{7 a d}+\frac{\csc ^6(c+d x)}{6 a d}+\frac{\csc ^5(c+d x)}{5 a d}-\frac{\csc ^4(c+d x)}{4 a d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2836
Rule 12
Rule 75
Rubi steps
\begin{align*} \int \frac{\cot ^5(c+d x) \csc ^3(c+d x)}{a+a \sin (c+d x)} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{a^8 (a-x)^2 (a+x)}{x^8} \, dx,x,a \sin (c+d x)\right )}{a^5 d}\\ &=\frac{a^3 \operatorname{Subst}\left (\int \frac{(a-x)^2 (a+x)}{x^8} \, dx,x,a \sin (c+d x)\right )}{d}\\ &=\frac{a^3 \operatorname{Subst}\left (\int \left (\frac{a^3}{x^8}-\frac{a^2}{x^7}-\frac{a}{x^6}+\frac{1}{x^5}\right ) \, dx,x,a \sin (c+d x)\right )}{d}\\ &=-\frac{\csc ^4(c+d x)}{4 a d}+\frac{\csc ^5(c+d x)}{5 a d}+\frac{\csc ^6(c+d x)}{6 a d}-\frac{\csc ^7(c+d x)}{7 a d}\\ \end{align*}
Mathematica [A] time = 0.10259, size = 48, normalized size = 0.66 \[ \frac{\csc ^4(c+d x) \left (-60 \csc ^3(c+d x)+70 \csc ^2(c+d x)+84 \csc (c+d x)-105\right )}{420 a d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.155, size = 49, normalized size = 0.7 \begin{align*}{\frac{1}{da} \left ( -{\frac{1}{7\, \left ( \sin \left ( dx+c \right ) \right ) ^{7}}}+{\frac{1}{5\, \left ( \sin \left ( dx+c \right ) \right ) ^{5}}}-{\frac{1}{4\, \left ( \sin \left ( dx+c \right ) \right ) ^{4}}}+{\frac{1}{6\, \left ( \sin \left ( dx+c \right ) \right ) ^{6}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.03947, size = 62, normalized size = 0.85 \begin{align*} -\frac{105 \, \sin \left (d x + c\right )^{3} - 84 \, \sin \left (d x + c\right )^{2} - 70 \, \sin \left (d x + c\right ) + 60}{420 \, a d \sin \left (d x + c\right )^{7}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.07927, size = 217, normalized size = 2.97 \begin{align*} \frac{84 \, \cos \left (d x + c\right )^{2} - 35 \,{\left (3 \, \cos \left (d x + c\right )^{2} - 1\right )} \sin \left (d x + c\right ) - 24}{420 \,{\left (a d \cos \left (d x + c\right )^{6} - 3 \, a d \cos \left (d x + c\right )^{4} + 3 \, a d \cos \left (d x + c\right )^{2} - a d\right )} \sin \left (d x + c\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.25472, size = 62, normalized size = 0.85 \begin{align*} -\frac{105 \, \sin \left (d x + c\right )^{3} - 84 \, \sin \left (d x + c\right )^{2} - 70 \, \sin \left (d x + c\right ) + 60}{420 \, a d \sin \left (d x + c\right )^{7}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]